package Operator;

import Component.AComponent;

public abstract class AOperator extends AComponent {
    private AComponent directerObject;

    public AOperator(AComponent directerObject) {
        this.directerObject = directerObject;
    }

    @Override
    public void Func() {
        directerObject.Func();
        DirecterFunc();
    }

    protected abstract void DirecterFunc();
}
